#include "BlackWhiteProcessorProcessor.h"
#include "PixelBuffer.h"
BlackWhiteProcessorProcessor::BlackWhiteProcessorProcessor()
{
}

void BlackWhiteProcessorProcessor::apply()
{

    glPixelTransferf(GL_RED_SCALE, 0.299);
    glPixelTransferf(GL_GREEN_SCALE, 0.587);
    glPixelTransferf(GL_BLUE_SCALE, 0.114);
}
